home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7086 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.nask.org.pl!cyfronet!student!iskra
  3. From: iskra@student.uci.agh.edu.pl (Kamil Iskra)
  4. Subject: Re: GNU ld cannot find ____main
  5. Message-ID: <DpL68r.3u6@cyf-kr.edu.pl>
  6. Sender: news@cyf-kr.edu.pl (News Administrator)
  7. Nntp-Posting-Host: student.uci.agh.edu.pl
  8. Organization: Academic Computer Centre, CYFRONET
  9. X-Newsreader: TIN [version 1.1 PL8]
  10. References: <4k392d$8q6@chaos.dac.neu.edu>
  11. Date: Tue, 9 Apr 1996 08:29:15 GMT
  12.  
  13. Gregory Hull (ghull@lynx.dac.neu.edu) wrote:
  14. >     I've installed the GNU C compiler on my amiga, along wit" 'KRUEMEL's
  15. > FRONTEND for THE GNU C COMPILER"
  16.  
  17. What the hell is it? I don't think I've ever seen it. Is it something very
  18. new or very old? :-)
  19.  
  20. > T:first.o: Undefined symbol _  main referenced from text segment]
  21. > LD returned error 1.
  22.  
  23. ___main is a function called on the entry of main(), which calls global
  24. constructors. 
  25.  
  26. >     So, if I ma making some obvious mistake or if anyone has any clues
  27. > as to what I need to link, or change in other areas to, in order to 
  28. > resolve my problem, please let me know.  Thanx.
  29.  
  30. I'd strongly suggest you to get rid of this frontend and try to compile
  31. your source with plain old 'gcc' driver. I'm 99.9% sure that it will help
  32. - unless you did something wrong during installation of GCC. 
  33.  
  34. --
  35. / Kamil Iskra - AMIGA 1200, 68030 50MHz, HDD 850 MB, 10 MB RAM \
  36. | iskra@student.uci.agh.edu.pl  kiskra@ernie.icslab.agh.edu.pl |
  37. | http://student.uci.agh.edu.pl/~iskra                         |
  38. \ PGP public key available via Finger or WWW                   /
  39.